[ElementTiming] Add intrinsic size This CL adds naturalWidth and naturalHeight members to PerformanceElementTiming to allow developers to compute a size that aligns more with the importance of the image with the help of these attributes and intersectionRect. This CL also adds tests for CSS scaling and rotation. Bug: 879270 Change-Id: I9dbbe802dd430c2dd0fd9a476608c0c744a98095 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1545169 Commit-Queue: Nicolás Peña Moreno <npm@chromium.org> Reviewed-by: Chris Harrelson <chrishtr@chromium.org> Cr-Commit-Position: refs/heads/master@{#646368} 
diff --git a/element-timing/images-repeated-resource.html b/element-timing/images-repeated-resource.html index 18c72cd..7ad00e0 100644 --- a/element-timing/images-repeated-resource.html +++ b/element-timing/images-repeated-resource.html 
@@ -23,6 +23,7 @@  t.step_func(function(entryList) {  entryList.getEntries().forEach(entry => {  checkElement(entry, pathname, entry.identifier, beforeRender); + checkNaturalSize(entry, 100, 100);  if (entry.identifier === 'my_image') {  ++numEntries;  responseEnd1 = entry.responseEnd;